package com.taotao.admin.pojo;

import java.util.LinkedHashMap;
import java.util.List;

public class TreeUI {
    private Long id;
    private String text;
    private String state;
    private Boolean checked;
    private List<TreeUI> children;
    private LinkedHashMap<String, Object> attributes;
    private Long parentId;
    private Integer status;
    private Integer sort;
    private String url;

    //for wechat menu
    private String type;
    private String key;

    //for wechat article
    private String title;
    private String description;
    private String picUrl;
    private String appId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public List<TreeUI> getChildren() {
        return children;
    }

    public void setChildren(List<TreeUI> children) {
        this.children = children;
    }

    public LinkedHashMap<String, Object> getAttributes() {
        return attributes;
    }

    public void setAttributes(LinkedHashMap<String, Object> attributes) {
        this.attributes = attributes;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }
}
